#pragma once

#include "DLL.h"

namespace My {

class Segment;
class Sequence;

class DLL_API SegmentCommands : public CCmdTarget
{
	DECLARE_MESSAGE_MAP()
public:
	virtual Segment * GetSegment() = 0;
	virtual Sequence * GetSequence() = 0;
public:
	afx_msg void OnProcess();
	afx_msg void OnUpdateProcess(CCmdUI *pCmdUI);
	afx_msg void OnCancel();
	afx_msg void OnUpdateCancel(CCmdUI *pCmdUI);
	afx_msg void OnSetBack();
	afx_msg void OnUpdateSetBack(CCmdUI* pCmdUI);
	afx_msg void OnSetFront();
	afx_msg void OnUpdateSetFront(CCmdUI* pCmdUI);

};

} //namespace My
